package com.dao;

import com.bean.Goods;
import com.bean.Orders;
import com.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserOrderMapper {

    Long selectByUserIdAndOrderId(@Param("user") User user, @Param("orders") Orders orders);

    Integer insert(Long userId,Long orderId);

    Integer deleteBatch(List<Long> orderGoodsIdList);

}
